package com.xudow.app.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.xudow.app.R;

/**
 * 文本消息查看
 *
 * @author lukecheng
 */
public class TextMessageViewActivity extends BaseActivity {

    private TextView contentView;

    private String content;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_text_message_view);

        Intent intent = getIntent();
        content = intent.getStringExtra("content");

        contentView = (TextView) findViewById(R.id.content);
        contentView.setText(content);
    }

    public void onBackBtnClick(View view) {
        finish();
    }
}
